<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>享送小哥</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/style.css" />
</head>

<body>
    <div class="aui-content vue">
        <div class="bg-box aui-margin-t-15">
            <div class="addr-phone1 aui-border-l">选联系人</div>
            <div class="addr-txt aui-border-b">联系人:
                <input type="text" class="addr-inp3" v-model="address.name">
            </div>
            <div class="addr-txt">联系电话:
                <input type="number" class="addr-inp3" v-model="address.phone">
            </div>
        </div>
        <div class="addr-box bg-box aui-margin-t-15">
            <div class="addr-box1">
                <div class="addr-txt1">联系地址:</div>
                <textarea class="addr-area">五月花商业广场（广东省广州市越秀区中山五路68号）</textarea>
            </div>
            <div class="addr-box1 aui-margin-t-5">
                <div class="addr-txt1">详细地址:</div>
                <textarea class="addr-area" placeholder="补充门牌号。例1号楼2单元1101室" style="height: 1.1rem;"></textarea>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../script/api.js"></script>
    <script type="text/javascript" src="../script/vue.js"></script>
    <script type="text/javascript" src="../script/app.js"></script>
    <script type="text/javascript">
        apiready = function() {

            var address = api.pageParam.address;

            vObj = new Vue({
                el: ".vue",
                data: {
                    address: address
                },
                methods: {
                    save:function(){
                      console.log(JSON.stringify(this.address))
                    }
                }
            })
        }
    </script>
</body>

</html>
